<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>时尚购物商城 - 登录</title>
        <meta name="description" content="时尚购物商城登录页面">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
        <style>
            /* 全局样式 */
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }
            
            body {
                background-color: #f8f9fa;
                color: #333;
                line-height: 1.6;
            }
            
            /* 头部样式 */
            header {
                background: linear-gradient(135deg, #6e8efb, #a777e3);
                color: white;
                padding: 20px 0;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }
            
            header figure {
                display: flex;
                align-items: center;
                justify-content: space-between;
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
            }
            
            .figcaption {
                font-size: 24px;
                font-weight: bold;
                margin-left: 15px;
                flex-grow: 1;
            }
            
            header div {
                display: flex;
                align-items: center;
            }
            
            header input {
                padding: 10px 15px;
                border: none;
                border-radius: 25px 0 0 25px;
                width: 250px;
                outline: none;
                font-size: 14px;
            }
            
            header button {
                padding: 10px 20px;
                background-color: #ff6b6b;
                color: white;
                border: none;
                border-radius: 0 25px 25px 0;
                cursor: pointer;
                transition: all 0.3s ease;
                font-size: 14px;
            }
            
            header button:hover {
                background-color: #ff5252;
            }
            
            /* 导航栏样式 */
            nav {
                background-color: white;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            }
            
            nav ul {
                display: flex;
                list-style: none;
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
            }
            
            nav li {
                padding: 15px 20px;
            }
            
            nav a {
                text-decoration: none;
                color: #555;
                font-weight: 500;
                transition: all 0.3s ease;
                position: relative;
            }
            
            nav a:hover {
                color: #6e8efb;
            }
            
            nav a::after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                bottom: -5px;
                left: 0;
                background-color: #6e8efb;
                transition: width 0.3s ease;
            }
            
            nav a:hover::after {
                width: 100%;
            }
            
            /* 主要内容区域 */
            .main-container {
                display: flex;
                max-width: 1200px;
                margin: 30px auto;
                padding: 0 20px;
                gap: 30px;
            }
            
            article {
                flex: 3;
                background-color: white;
                border-radius: 10px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
                padding: 30px;
            }
            
            aside {
                flex: 1;
                background-color: white;
                border-radius: 10px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
                padding: 20px;
            }
            
            /* 登录表单样式 */
            .login-section {
                max-width: 500px;
                margin: 0 auto;
            }
            
            .login-section h2 {
                text-align: center;
                margin-bottom: 30px;
                color: #6e8efb;
                font-size: 28px;
            }
            
            .form-group {
                margin-bottom: 20px;
            }
            
            .form-group label {
                display: block;
                margin-bottom: 8px;
                font-weight: 500;
                color: #555;
            }
            
            .form-control {
                width: 100%;
                padding: 12px 15px;
                border: 1px solid #ddd;
                border-radius: 6px;
                font-size: 16px;
                transition: all 0.3s ease;
            }
            
            .form-control:focus {
                border-color: #6e8efb;
                box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
                outline: none;
            }
            
            .btn {
                display: inline-block;
                padding: 12px 30px;
                background: linear-gradient(135deg, #6e8efb, #a777e3);
                color: white;
                border: none;
                border-radius: 6px;
                cursor: pointer;
                font-size: 16px;
                font-weight: 500;
                transition: all 0.3s ease;
                width: 100%;
                margin-top: 10px;
            }
            
            .btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
            }
            
            .social-login {
                margin-top: 30px;
                text-align: center;
            }
            
            .social-login p {
                color: #777;
                margin-bottom: 15px;
                position: relative;
            }
            
            .social-login p::before,
            .social-login p::after {
                content: "";
                position: absolute;
                top: 50%;
                width: 30%;
                height: 1px;
                background-color: #ddd;
            }
            
            .social-login p::before {
                left: 0;
            }
            
            .social-login p::after {
                right: 0;
            }
            
            .social-icons {
                display: flex;
                justify-content: center;
                gap: 15px;
            }
            
            .social-icon {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 18px;
                transition: all 0.3s ease;
            }
            
            .social-icon:hover {
                transform: translateY(-3px);
            }
            
            .facebook {
                background-color: #3b5998;
            }
            
            .google {
                background-color: #db4437;
            }
            
            .twitter {
                background-color: #1da1f2;
            }
            
            .forgot-password {
                text-align: right;
                margin-top: 10px;
            }
            
            .forgot-password a {
                color: #777;
                text-decoration: none;
                font-size: 14px;
                transition: all 0.3s ease;
            }
            
            .forgot-password a:hover {
                color: #6e8efb;
            }
            
            .register-link {
                text-align: center;
                margin-top: 20px;
                color: #777;
            }
            
            .register-link a {
                color: #6e8efb;
                text-decoration: none;
                font-weight: 500;
            }
            
            /* 侧边栏样式 */
            .promo-banner {
                background: linear-gradient(135deg, #a777e3, #6e8efb);
                color: white;
                padding: 20px;
                border-radius: 8px;
                text-align: center;
                margin-bottom: 20px;
            }
            
            .promo-banner h3 {
                margin-bottom: 10px;
            }
            
            .promo-banner p {
                font-size: 14px;
                margin-bottom: 15px;
            }
            
            .promo-btn {
                display: inline-block;
                padding: 8px 20px;
                background-color: white;
                color: #6e8efb;
                border-radius: 20px;
                text-decoration: none;
                font-weight: 500;
                transition: all 0.3s ease;
            }
            
            .promo-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            /* 页脚样式 */
            footer {
                background-color: #2c3e50;
                color: #ecf0f1;
                padding: 40px 0;
                margin-top: 50px;
            }
            
            .footer-container {
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 30px;
            }
            
            .footer-column h3 {
                margin-bottom: 20px;
                font-size: 18px;
                position: relative;
                padding-bottom: 10px;
            }
            
            .footer-column h3::after {
                content: '';
                position: absolute;
                left: 0;
                bottom: 0;
                width: 40px;
                height: 2px;
                background-color: #6e8efb;
            }
            
            .footer-column ul {
                list-style: none;
            }
            
            .footer-column li {
                margin-bottom: 10px;
            }
            
            .footer-column a {
                color: #bdc3c7;
                text-decoration: none;
                transition: all 0.3s ease;
            }
            
            .footer-column a:hover {
                color: #6e8efb;
                padding-left: 5px;
            }
            
            .copyright {
                text-align: center;
                padding-top: 20px;
                margin-top: 20px;
                border-top: 1px solid #34495e;
                color: #bdc3c7;
                font-size: 14px;
            }
            
            /* 响应式设计 */
            @media (max-width: 768px) {
                header figure {
                    flex-direction: column;
                    text-align: center;
                }
                
                .figcaption {
                    margin: 15px 0;
                }
                
                nav ul {
                    flex-wrap: wrap;
                    justify-content: center;
                }
                
                .main-container {
                    flex-direction: column;
                }
                
                .footer-container {
                    grid-template-columns: 1fr 1fr;
                }
            }
            
            @media (max-width: 480px) {
                header div {
                    width: 100%;
                }
                
                header input {
                    width: 70%;
                }
                
                .footer-container {
                    grid-template-columns: 1fr;
                }
            }
        </style>
    </head>
    <body>
        <header>
            <figure>
                <img src="C:\Users\Hmiqi\Desktop\乞讨工具\web-fedt\HTML\img\学院logo.png" alt="商城Logo" width="60px">
                <figcaption class="figcaption">欢迎来到我们的购物商城</figcaption>
                <div>
                    <input type="text" placeholder="请输入搜索内容">
                    <button>搜索商品</button>
                </div>
            </figure>
        </header>
        <nav>
            <ul>
                <li><a href="">首页</a></li>
                <li><a href="">新闻</a></li>
                <li><a href="">联系我们</a></li>
                <li><a href="">关于我们</a></li>
                <li><a href="">登录</a></li>
                <li><a href="">注册</a></li>
            </ul>
        </nav>
        <div class="main-container">
            <article>
                <section class="login-section">
                    <h2>会员登录</h2>
                    <form>
                        <div class="form-group">
                            <label for="username">用户名/邮箱</label>
                            <input type="text" id="username" class="form-control" placeholder="请输入用户名或邮箱">
                        </div>
                        <div class="form-group">
                            <label for="password">密码</label>
                            <input type="password" id="password" class="form-control" placeholder="请输入密码">
                            <div class="forgot-password">
                                <a href="#">忘记密码?</a>
                            </div>
                        </div>
                        <button type="submit" class="btn">登录</button>
                        <div class="register-link">
                            还没有账号? <a href="#">立即注册</a>
                        </div>
                        <div class="social-login">
                            <p>或使用以下方式登录</p>
                            <div class="social-icons">
                                <a href="#" class="social-icon facebook"><i class="fab fa-facebook-f"></i></a>
                                <a href="#" class="social-icon google"><i class="fab fa-google"></i></a>
                                <a href="#" class="social-icon twitter"><i class="fab fa-twitter"></i></a>
                            </div>
                        </div>
                    </form>
                </section>
            </article>
            <aside>
                <div class="promo-banner">
                    <h3>新用户优惠</h3>
                    <p>立即注册成为会员，享受首单8折优惠</p>
                    <a href="#" class="promo-btn">立即注册</a>
                </div>
                <div class="promo-banner" style="background: linear-gradient(135deg, #ff9a9e, #fad0c4);">
                    <h3>限时特惠</h3>
                    <p>精选商品低至5折，优惠仅剩2天</p>
                    <a href="#" class="promo-btn">查看详情</a>
                </div>
            </aside>
        </div>
        <footer>
            <div class="footer-container">
                <div class="footer-column">
                    <h3>关于我们</h3>
                    <ul>
                        <li><a href="#">公司简介</a></li>
                        <li><a href="#">发展历程</a></li>
                        <li><a href="#">企业文化</a></li>
                        <li><a href="#">招贤纳士</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>客户服务</h3>
                    <ul>
                        <li><a href="#">帮助中心</a></li>
                        <li><a href="#">联系我们</a></li>
                        <li><a href="#">售后服务</a></li>
                        <li><a href="#">常见问题</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>购物指南</h3>
                    <ul>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">会员制度</a></li>
                        <li><a href="#">配送方式</a></li>
                        <li><a href="#">支付方式</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>联系我们</h3>
                    <ul>
                        <li><i class="fas fa-phone-alt"></i> 400-123-4567</li>
                        <li><i class="fas fa-envelope"></i> service@shop.com</li>
                        <li><i class="fas fa-map-marker-alt"></i> 北京市朝阳区某某路88号</li>
                    </ul>
                </div>
            </div>
            <div class="copyright">
                <p>© 2023 时尚购物商城 版权所有 | ICP备案号: 京ICP备12345678号</p>
            </div>
        </footer>
    </body>
</html>